package com.qianyu.project.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qianyu.project.entity.DeviceMaintain;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qianyu.project.entity.DeviceMaintainList;
import com.qianyu.project.entity.DeviceOilUsed;
import com.qianyu.project.mapper.provider.mfy.DeviceMaintainProvider;
import com.qianyu.project.mapper.provider.mfy.DeviceOilUsedProvider;
import org.apache.ibatis.annotations.SelectProvider;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 设备维保表 Mapper 接口
 * </p>
 *
 * @author gs
 * @since 2021-01-30
 */
@Repository
public interface DeviceMaintainMapper extends BaseMapper<DeviceMaintain> {
    @SelectProvider(method = "Mylist",type = DeviceMaintainProvider.class)
    IPage<DeviceMaintain> Mylist(IPage<DeviceMaintain> page, Map<String, String> params);
    @SelectProvider(method = "listNopage",type = DeviceMaintainProvider.class)
    List<DeviceMaintain> listNopage(Map<String, String> params);

}
